<ion-header>
  <ion-navbar>
    <ion-title>单位安全管理检查</ion-title>
  </ion-navbar>

</ion-header>
<ion-content class="security-manage">

  <div class="selectSection">
    <div class="selectTitle">
      <p>机构及制度</p>
    </div>
    <div class="sel_content">
      <div class="con_title" style="line-height: 4rem;">
        是否设置安全管理机构或配备专兼职管理人员
      </div>
      <div class="con_option">
        <input type="radio" name="safePerson" [disabled]="isDetail" [(ngModel)]="usedControlInspection.safePerson" value="1">
        <label for="safePerson">是</label>
        <input type="radio" name="safePerson" [disabled]="isDetail" [(ngModel)]="usedControlInspection.safePerson" value="0">
        <label>否</label>
      </div>
    </div>
    <div class="sel_content">
      <div class="con_title" style="line-height: 4rem;">
        是否按规定建立安全管理制度和岗位安全责任制度
      </div>
      <div class="con_option">
        <input type="radio" name="responseSystem" [disabled]="isDetail" [(ngModel)]="usedControlInspection.responseSystem" value="1">
        <label>是</label>
        <input type="radio" name="responseSystem" [disabled]="isDetail" [(ngModel)]="usedControlInspection.responseSystem" value="0">
        <label>否</label>
      </div>
    </div>
    <div class="sel_content">
      <div class="con_title" style="line-height: 4rem;">
        是否制定事故应急专项预案并有演练记录
      </div>
      <div class="con_option lastChild">
        <input type="radio" name="emergencyDrill" [disabled]="isDetail" [(ngModel)]="usedControlInspection.emergencyDrill" value="1">
        <label>是</label>
        <input type="radio" name="emergencyDrill" [disabled]="isDetail" [(ngModel)]="usedControlInspection.emergencyDrill" value="0">
        <label>否</label>
      </div>
    </div>
  </div>

  <div class="selectSection">
    <div class="selectTitle">
      <p>设备档案</p>
    </div>
    <div class="sel_content">
      <div class="con_title" style="line-height: 4rem;">
        是否建立设备档案，档案是否齐全
      </div>
      <div class="con_option">
        <input type="radio" name="archives" [disabled]="isDetail" [(ngModel)]="usedControlInspection.archives" value="1">
        <label>是</label>
        <input type="radio" name="archives" [disabled]="isDetail" [(ngModel)]="usedControlInspection.archives" value="0">
        <label>否</label>
      </div>
    </div>
    <div class="sel_content">
      <div class="con_title" style="line-height: 4rem;">
        所抽查设备是否在定期检验有效期内
      </div>
      <div class="con_option">
        <input type="radio" name="validateInspection" [disabled]="isDetail" [(ngModel)]="usedControlInspection.validateInspection"
          value="1">
        <label>是</label>
        <input type="radio" name="validateInspection" [disabled]="isDetail" [(ngModel)]="usedControlInspection.validateInspection"
          value="0">
        <label>否</label>
      </div>
    </div>
    <div class="sel_content">
      <div class="con_title">
        所抽查的设备是否按规定进行日常维护保养或者定期自行检查并有记录
      </div>
      <div class="con_option lastChild">
        <input type="radio" name="regularCheck" [disabled]="isDetail" [(ngModel)]="usedControlInspection.regularCheck" value="1">
        <label>是</label>
        <input type="radio" name="regularCheck" [disabled]="isDetail" [(ngModel)]="usedControlInspection.regularCheck" value="0">
        <label>否</label>
      </div>
    </div>
  </div>

  <div class="selectSection">
    <div class="selectTitle">
      <p>人员档案</p>
    </div>
    <div class="sel_content">
      <div class="con_title" style="line-height: 4rem;">
        抽查安全管理人员和作业人员证件是否在有效期内
      </div>
      <div class="con_option">
        <input type="radio" name="validateCertificates" [disabled]="isDetail" [(ngModel)]="usedControlInspection.validateCertificates"
          value="1">
        <label>是</label>
        <input type="radio" name="validateCertificates" [disabled]="isDetail" [(ngModel)]="usedControlInspection.validateCertificates"
          value="0">
        <label>否</label>
      </div>
    </div>
    <div class="sel_content">
      <div class="con_title" style="line-height: 4rem;">
        是否有特种设备作业人员培训记录
      </div>
      <div class="con_option lastChild">
        <input type="radio" name="trainingRecord" [disabled]="isDetail" [(ngModel)]="usedControlInspection.trainingRecord" value="1">
        <label>是</label>
        <input type="radio" name="trainingRecord" [disabled]="isDetail" [(ngModel)]="usedControlInspection.trainingRecord" value="0">
        <label>否</label>
      </div>
    </div>
  </div>

  <button *ngIf="isadd" ion-button (click)="submit()" class="submit">下一步检查电梯使用情况</button>
</ion-content>